/**
 * Copyright (c) 2017-2017 All Rights Reserved.
 */
package com.zbest.zpay.exchange.integration.gw;

import java.util.Map;

import com.zbest.zpay.service.gw.model.GwResult;

/**
 * 
 *
 * @author Administrator
 * @version $Id: GwClient.java, v 0.1 2017-5-13 下午10:56:16 Administrator Exp $
 */
public interface GwClient {

    /**
     * 同步发送报文
     * 
     * @param channelId
     * @param data
     * @return
     */
    GwResult syncSend(String channelId, Map<String, Object> data);

    /**
     * 组装报文
     * 
     * @param channelId
     * @param data
     * @return
     */
    GwResult assemble(String channelId, Map<String, Object> data);
}
